﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
using System.Windows.Controls;
using System.Windows;

/// <summary>
/// Color类的扩展方法类
/// </summary>
public static class ColorExtensions
{
    public static SolidColorBrush ToBrush(this Color color)
    {
        return new SolidColorBrush(color);
    }
}